package cc.mrbird.febs.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("bk_business")
public class Business {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("father_id")
    private Long fatherId;

    @TableField("code")
    private String code;

    @TableField("standard_main")
    private String standardMain;

    @TableField("`order`")
    private Integer order;

    @TableField("type")
    private Integer type;

    @TableField("create_time")
    private Date createTime;

    @TableField("modify_time")
    private Date modifyTime;

    @TableField("create_by")
    private String createBy;

    @TableField("modify_by")
    private String modifyBy;

    @TableField(exist = false)
    private Long projectId;

    @TableField("module_id")
    private Long moduleId;
}
